/*快速开始*/
import {
  ScrollView,
  Text,
  View,
  Image,
  StyleSheet,
  TextInput,
} from 'react-native';

const QuickStart = () => {
  return (
    <>
      <ScrollView>
        <Text style={{textAlign: 'center'}}>一些文本</Text>
        <View style={{alignItems: 'center'}}>
          <Text style={{textAlign: 'center'}}>更多的一些文本</Text>
          <Image
            source={{
              uri: 'https://reactnative.dev/docs/assets/p_cat2.png',
            }}
            style={styles.imgStyle}
          />
        </View>

        <TextInput style={styles.inputStyle} defaultValue="输入你想要的一切" />
      </ScrollView>
    </>
  );
};

const styles = StyleSheet.create({
  centerStyle: {
    textAlign: 'center',
  },
  imgStyle: {
    width: 200,
    height: 200,
  },
  inputStyle: {
    height: 40,
    borderRadius: 5,
    borderColor: 'gray',
    backgroundColor: '#f1f6ff',
  },
});

export default QuickStart;
